<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/6
 * Time: 18:38
 */
namespace App\Demo\Controllers;

class IndexController extends BaseController
{
	public function doo()
	{
		echo "<h1>控制器加载成功！</h1>";
		$this->assign('title','this is smarty title test!中文测试-Index控制器Doo方法');
		//$this->clearCache();
		if ($this->isCached()){
			echo "isCached";
		}else{
			echo "isNotCached";
		}
		$this->display();
		$this->clearCache();
	}
}